package com.rgs.gateway.admin.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.cloud.gateway.filter.FilterDefinition;
import org.springframework.cloud.gateway.handler.predicate.PredicateDefinition;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author RenGaoshuai
 * @date 2024/6/26 15:54
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GatewayRouteRespVO {
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "路由id")
    private String routeId;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "url路径")
    private String url;
    @ApiModelProperty(value = "排序")
    private Integer orders;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    private Integer isDelete;
    private List<FilterDefinition> filters = new ArrayList<>();
    private List<PredicateDefinition> predicates = new ArrayList<>();


}
